import request from '@/utils/request'

export function fetchmetadataJoblogList(data) {
  return request({
    url: '/system/log/metadataJoblog/list',
    method: 'post',
    data
  })
}
//获取日志列表
export function getLogData(data) {
  return request({
    url: '/system/log/metadataJoblog/logDetailCat' ,
    method: 'get',
    params: data
  })
}

export function createmetadataJoblog(data) {
  return request({
    url: '/system/log/metadataJoblog/add',
    method: 'post',
    data
  })
}

export function updatemetadataJoblog(data) {
  return request({
    url: '/system/log/metadataJoblog/update',
    method: 'post',
    data
  })
}

export function deletemetadataJoblog(ids) {
  return request({
    url: '/system/log/metadataJoblog/delete',
    method: 'post',
    data: { ids }
  })
}

